import Vuex from "vuex";
import Vue from "vue";
import { common } from "../store/common/common.js";
import { mutation } from "../store/mutations/mutations";

Vue.use(Vuex);

const store = new Vuex.Store({
    state: {
        rank: {
            root: "超级管理员",
        },
    },
    actions: {
        ...common,
    },
    mutations: {
        ...mutation,
    },
});

export default store;